package com.linkage.event.service;

import com.github.pagehelper.PageInfo;
import com.linkage.event.pojo.entity.TrainMessage;

public interface TrainMessageService {

    TrainMessage queryTrainInfo(String id);

    void insertTrainInfo(TrainMessage message);

    void updateTrainInfo(TrainMessage message);

    PageInfo<TrainMessage> queryListByPage(TrainMessage message, int page, int pageSize);

    void delete(String id);
}
